package com.you.swagger.controller;

import com.you.swagger.entity.UserInfo;
import com.you.swagger.service.IUserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Description
 * @Author yough
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2021/1/11
 */
@Api("用户服务接口")
public interface IUserInterface {



    @GetMapping("/getUserInfo")
    @ResponseBody
    @ApiOperation("查询用户信息接口")
    public UserInfo getUserInfo(UserInfo userInfo);


    @GetMapping("/updateUserInfo")
    @ResponseBody
    @ApiOperation("更新用户信息接口")
    public boolean updateUserInfo(String userIds, String userName);
}
